Fix compilation (Win32 UNICODE)
Fix malloc size (Win32)