acu125100 support mingw in Platform class, etc.
refactored Platform to be more extensible and less copy-and-pasteable