windows build scirpt fix