fixed compillation for obsolete classes
Merge pull request #1580 from civanch/geant4-10-compiled

fixed compillation for obsolete classes