Python 2.4 portability fix.