Compatibility with Windows XP

Fixed Win32 error on Windows XP.