fixed Makefile for Mac