fix Windows build scripts