Check if brew exists first before using ccache path