Closes Homebrew/homebrew#15311
Also fix hard-coded /Developer path.
Closes Homebrew/homebrew#8185. Signed-off-by: Jack Nagel <jacknagel@gmail.com>