fixed compile issue in win32 platform