fix ant script spawn on windows