build file tweaks for templating