NOTE: I don't have an M1 Mac, so the only testing I can do is with
a non-`/usr/local` Intel Homebrew installation. This should take
care of "`cc` shim forbids `/usr/local` if Homebrew not installed
under `/usr/local`", which is the default setup for M1 Homebrew.