compilation error fix for win32.