Makefile is now OS X compatible.

Added a conditional that checks for the operating system and modifies CXXFLAGS and LDFLAGS accordingly.
Merge pull request #2 from kewagi/osx

Makefile is now OS X compatible.