fixed win32 compilation error.