Support python2.6