Make it possible to install and use python-linkat on older linuxes, and fix a bug in the error handling.

good catch.