[Bug 8832] Fix build with LibreSSL 2.7