Horrible preprocessor hack to allow use of named weights with HepMC < 2.06.11
Add a very horrible preprocessor hack to allow use of a private method on the HepMC2 WeightContainer, for robust and correctly ordered weight name acquisition before HepMC 2.06.11.