Fix compilation on jessie.

The -lssl had to be replaced with -lcrypto for jessie. Simply added it and that seems to work as well.