cmake: Add MacOS homebrew autodetection