Fixing win build script w reverse compatibility