Make the build working on windows