switch homebrew legality