I would install vcpkg and then install libxml2
vcpkg install libxml2:x64-windows vcpkg install libxslt:x64-windows vcpkg integrate install