Fixed compatibility with grunt rc7. #7