go back to the original way in #184 of detecting phantomjs global install