Move grunt install earlier, to avoid npm install error.