Fixed Win32 compatibility