Closes Homebrew/homebrew#14653.
Closes Homebrew/homebrew#8049. Signed-off-by: Charlie Sharpsteen <source@sharpsteen.net>