Fix misgenerated grunt task when not using a template library

Always the fun with meta programming.