Changed CRYPT_ATTRIBUTE_INT_ERRORMESSAGE for CRYPT_ATTRIBUTE_ERRORMESSAGE and added -lcrypto to cc command to make Ubuntu 12.04 and anything with reasonable recent openssl work
Fix paths