Fix makefile for Mac OS