Phantomjs: Yosemite fixes

This is a pretty clunky workaround, and I’m open to suggestions on how to make this more automatic for users, but it does the job if the maintainers are happy with it.
Do this inside `install`. (Mike et al. - feelings about raise vs odie?)