md5, sha1, sha256, sha512: fix link error with partial libcrypto