patch configure to correctly find libxml2

Modify configure check so it correctly detects libxml2.