a bit of code reorg
Use libXXX-<version>.so instead of libXXX.so.<version>.
Also ensure openssl binaries are properly copied.