initial cmake support

* builds crypto, ssl libraries
* currently works on linux