[CMake] fix build for win32