Locate version check before dependent library installations

Replace '--use-clang' with '--cc=clang' to surpress warning message in newer homebrew