Grunt: Use env instead of target. Fix files generator with grunt.