build all code as C++11. Add in some per file compile-with-gcc hacks so zerogs and zzogl compile
fix for clang static overflow checker