removed some extra semi colons
reinstated c++11 and fixed the source code so that it compiles with that

There were some problems with macros that weren't following the required format new c++ standard which is required by some 3rd libraries
removed irrelevant Blabla