Add Python 2.x (older than 2.6) support