Support lxml 2.x.