Fixed inclusion of OpenSSL libraries.

Note the OpenSSL_LIBRARIES != OPENSSL_LIBRARIES
Removed debugging message.