update ax_check_openssl to avoid autoconf warnings