Fix misgenerated grunt task when not using a template library

You can. But it still didn't feel much easier to read.