Bugfixing deploy target to work on Windows also