updated clang-based makefiles for MACs