fixed win32 build error