fix the compile failure on win32.