Merge pull request #3 from dustinwilson/master

Added preprocessor directives and Makefile logic to support OS X
latest commit 3818ee6346
@devurandom authored