working around compatibility issues in grunt-cli