Fix elementtree dependency for Python 2.4.