Link against libcrypto for openssl crypto locks, fixes #186