[configure] properly detect if curl was compiled statically with openssl