patch for windows build.