fix win32 build