Fixed building the templates in the Gruntfile