correct resolving of casper & phantomjs binaries