C++98 and older OSX fixes

Necessary to compile on OSX 10.6.
It would also be great to have a cmake option to disable boost::log completely (the only C++11 component in TuttleOFX).