PhantomJS fix for Windows