fixing deploy_war function on windows