handle gDirectory special case for ROOT older than 5.32.00
Merge pull request #237 from ndawe/master

handle gDirectory special case for ROOT older than 5.32.00