Made it compatible with python 2.6.6 (cent os 6 package version)