Fixing phantomjs PATH check.