Mingw Compiler now works for Windows

Cocos now compiles with the Mingw and Mingw64 compiler on windows.
Platform fixed to remove the compiler errors.

You must make your own makefile (I use cmake)

Could you guys merge please?