Fix makefile for mac