Support python 2.6