This allows the openssl version to be easily overridden using standard
PKG_CONFIG_PATH overrides, which is required for modern distros that use
openssl 1.1 by default.
Also print diagnostics for the libssl flavor in use, and constrain the
version when using openssl to < 1.1.