Fixed makefile to work on mac.