Fix misgenerated grunt task when not using a template library

I'll integrate that change. It's an improvement!