Enable console logging under Win32.
Fix struct size issue under Win32.