Fix compilation for win32