Fixing the makefile for Mac