fixed Python build for Python 2.6