Make the python3 version configurable on Mac
Add an SDK kludge to work around pkg-config issue in libffi