Use delegates instead of lambdas wrapped in std::function(s).

TMap doesn't get along with std::function, everything was working fine
until I added a 5th entry to FProvider::WorkerCreatorMap, then it
decided to scramble the first 4 entries.