extended handling of gcc installed with brew, update #2307