patch configure to correctly find libxml2
(cherry picked from commit 7b2c2521f79bb680afb64af07759b1096a9aa4a8)