use pkg-config libcrypto to locate libcrypto.a

In some cases the dir for libcrypto is different than libssl