TS-1146: additional autoconf tests to support older OpenSSL