updated makefile for Mac OS X