Bugfixing Windows build process