Fix build error in ROOT6 IB
Merge pull request #4693 from wmtan/FixROOT6DictionaryError

Fix build error in ROOT6 IB