Add a hack to fix libcrypto dependency for Solaris.