added mingw32 compat stuff
proper munmap
removed unnecessary include dirs
more header and type checks
compilation fixes
changed #include directives and -isystem arg
added alloca.h header where necessary
...