Fix to work with more recent zlib

OF is no longer present in more recent zlibs. A fix for this was discussed in [this gentoo bug](https://bugs.gentoo.org/show_bug.cgi?id=383569) for a different package, but it's still relvant.

With the supplied change, the plugin compiles and functions correctly on my system. It did not compile before.