Homebrew: distinct installed and latest versions