Use brew only on Mac.