fixed win32 build