update Makefile for Apple