Fix for Mac OS X (Darwin)

Generalized the Make.inc file and deps/Makefile so it builds on Mac. Should also work on Windows and Linux but I have now way to test.