Fix compilation (Win32 UNICODE)
Fix malloc size (Win32)
Merge pull request #1 from silverbuddy/master

Win32 issues