cmake support

* originally developed in xp_1_0_1g [branch](https://github.com/smanders/openssl/commits/xp_1_0_1g)