Refactor lf-c-cpp-jobs for common anchor