Fix win32 compile issue