let XB_FIND_SONAME define *_FILENAME also for apple
[configure] properly detect if curl was compiled statically with openssl