Allow compilation by python-2.4