Closes Homebrew/homebrew#12619. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
Fixes Homebrew/homebrew#10829.