Add Makefile with fixes for OSX 10.9

Yay being an early adopter!