Fixed some issues with GCC.
Fixed CXX flags.
Fixed MSVC issues.
Merge branch 'inst_rewrite' of https://github.com/Forkk/MultiMC5