Fixing inconsistent homebrew behavior