use POSIX functions if applicable; macro switches for windows-specific code
added CMakeLists.txt
new cpuinfo function to query CPU features
added MinGW compatible ASM code
fix to execute a mingw-compiled openrct2