Fix a warning in win32 build