fix makefile for Mac OS X