Fix failure on Py2.6