Add install_missing_brew_packages function