fix for build on windows