Support Python 2.4