makefile.osx modified for os x