Execute `brew uninstall` before `brew install` to fix build errors on Travis