Make CkfPattern MT ready

Technical change to allow to run  CkfPattern in parallel.
For the time being is compiler flag protected.
Not obvious to use a unique central configuration switch to control it