fixes the build for windows