Fix Python 2.5 failure