OpenSSL linking exception & client code