Ooooops.
Fix a narrowing conversion for C++11.
Try to fix in a legal way (without private APIs) case with ROOT running Mac

machine without a login session.
Fix constness warning.
Improve version string; adapt test.