fix build with old Cython 0.19
merge lxml-3.2 branch into master