Change up logs to never EXPLICITLY need __PRETTY_FUNCTION__, and turn on c++11 to allow variadic macros, and correct some cast issues for c++11