try to fix win32 compile error