Avoid hardcoding compiler/flags

This would be preferable for the Homebrew formula; see https://github.com/Homebrew/homebrew/pull/28443. But of course, feel free to close this if this change would hinder your workflow in any way.