Add support for python2.6.