Fix build for MacOS / Homebrew