changed includes & api calls to reflect libklio changes
added -lcrypto to linker options