def METHOD_NAME(self):
    if self.settings.os == "Windows":
        del self.options.fPIC
    if Version(self.version) >= "3.0.0":
        # ZLIB support has been ditched on version 3.0.0
        del self.options.with_zlib