adding a mac compatible makefile