fixing build on Python 2.6