Include some Win32 libs to compile
MinGW doesn't implement a wide character startup module. Use standard main() call instead.
Add Mingw32-W64 configuration
Fix compilation on WIN64 target
Fix compilation on WIN64 target
Remove some warning.