fixed win32 compile error