Fix some grammar issues, not done.
Fix includes on MinGW.
Compile with GNU extensions to prevent __STRICT_ANSI from being defined.
Don't specify -mwindows when compiling with Clang.
Add m_common.h.