This extends the fix introduced by 956534e0 to Windows processes dynamically loading libxml2. Closes #256.