makefile.inc changes for osx