some homebrew related fixes