Fixing build on windows