fixed makefile for Mac