Compilation fixes for Windows

Contains a few fixes to get it compiling with MinGW.

* Use Windows-equivalent routines for mmap for the FreeType debugger
* Remove MinGW specifics when including FreeType debugger headers (not sure why this was done in the first place?)
* Fix mkdir usage and proper inclusion of the windows headers