more bulletproof way to resolve mocha_phantomjs binary file