Fixing makefile for mac osx  10.9