clang fix and macos warning fixes


git-svn-id: svn+ssh://svn.cern.ch/reps/atlasoff/Control/CxxUtils/trunk@537381 4525493e-7705-40b1-a816-d608a930855b