Fixes #10539 in a diplomatic way (as opposed to telling Gentoo users to just change their distro or rebuild zlib from upstream...). (cherry picked from commit 67e6c1b735)
67e6c1b735