More generic makefiles and OS X support.

Makefile/ build environment changes for OS X, Python 2.6/2.7 and Redhat Linux.

Should build more easily in all environments as it uses the Python executable to work out the correct include/ Lib paths.