compile check for available hash functions in libnettle