Correctly link to OpenSSL library