Add detection for XML support on Windows