fix PhantomJS launch issue on Windows