Renamed the old cmake script to xmake to avoid the name clash with that other cmake tool...
Backport of the build scripts to my OS X 10.6 host. Specifying a python version via PYTHONVERSION
should now pick a framework install in (say) /Library/Frameworks/Python2.7.framework or else
use an appropriate python-config script to query the appropriate linker flags.