Move MINGW platform to formalized
Add platform.h header.