Makefile portability for MacOS X