Simple support to build on Mac OS X

Tested on OS X 10.8.5 with the default make/g++ that came with Xcode