Modernize build for TemplateBinding