Remove phantomenv dependency, use Homebrew to install.

- Also removed OS checks (Darwin vs. Linux) since they don't appear to be actually used/useful.