This MR should fix the compilation with -DGEANT4_USE_SYSTEM_PTL:BOOL=ON with PTL 1.0.0.
-DGEANT4_USE_SYSTEM_PTL:BOOL=ON