use -lcrypto instead of -lcrypt and ignore -lrt

It works on my mac.