Apply the patch suggested here:
https://savannah.cern.ch/bugs/index.php?100793


git-svn-id: https://root.cern.ch/svn/root/trunk@49073 27541ba8-7e3a-0410-8455-c3a389f83636