modified makefile for mac