fix makefile for clang on OSX