Make brew install more resilient.