patch configure to correctly find libxml2

Modify configure check so it correctly detects libxml2.
Actually it's just what was there - rearranged. The inner test != x is now and'd with the original outer test. This means we now take the else branch when we're cross compiling for mingw and it subsequently knows where to find libxml.