fixing cmake build on win32