fixing makefile for osx