Tweaked Makefile for building on OS X

Fix for 2.x