Updated makefile for osx