generate now creates TemplateVars.h using ctemplate.