updated makefile for osx