Fix for win32