fix Makefile for mac

This should fix  #2