Fix win32 compilation