Fixed Python 3 support

Dropped Python 2.5 support