fix makefile for os x