fix build on win32