allow building on Python 2.6