making deploy_war function work on windows