small build improvements

interning of templates with userConfig.