makefile fix for mac