Check for phantomjs in make

Checks if phantomjs is installed in make. The error message generated without this check was pretty criptic.

Supersedes #25.