Fix for patched HTML parser when running on distro Python builds