Fixing build on windows platform