Get generate working on windows