Fix ZTS build breakage from recent openssl PRs