Re-introduced ftls dynamic.

The patch is adapted from the one for the previous version of Geant4.
See also #265 and #457.
Merge pull request #464 from degano/geant4_p01_ftlsDynamicPatch

Re-introduced ftls dynamic.