Macosx Makefile fixes

These two patches are a fix for the issues noted in issue #53. The first patch fixes the case where PREFIX doesn't contain the /bin, /lib, and /include folders. The second patch resolves the issue of uname being called with the wrong parameter of ```-r``` instead of ```-s```