Installing cmake and libssl-dev

The solution to this problem is cross compilation and a link to it on this forum was kindly supplied to me by an AWS IQ member: How to cross-compile a program in raspberry pi with OpenWrt? - #6 by hnyman