Merge pull request #3 from dustinwilson/master …
Added preprocessor directives and Makefile logic to support OS X