Added Makefile patch to address OSX build issues.