use pkg-config libcrypto to locate libcrypto.a

In some cases the dir for libcrypto is different than libssl
Merge pull request #2 from jmesmon/master

use pkg-config libcrypto to locate libcrypto.a