Build global substitutions from config variables (also collected from plugins)