Fix for very old versions of XROOTD (reported by mikolaj krzewicki)