Fix misgenerated grunt task when not using a template library

Got any suggestions?