[Mac] Add Makefile build supports.