Get the library working on py2.6.