configure: OpenSSL API detection cleanup