let XB_FIND_SONAME define *_FILENAME also for apple
[configure] properly detect if curl was compiled statically with openssl
TestUtils.cpp: fix: add .c_str() to CSpecialProtocol::TranslatePath()
Merge pull request #5048 from wsnipex/ssl-fix

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