Make this work on RHEL6 with Python 2.6