Fix win32 build