Mac OS X compatible Makefile

I have changed the Makefile in order to successfully compile on Mac OS
X.
Probably the build process will now fail in other operating systems.