Fix Makefile for mac