add cmake
add CMS support
win32 defines
fix windows directories
tweaks
set correct OPENSSLDIR
remove enginesdir
Revert "remove enginesdir"

This reverts commit 43adf647ed346a6e7db07a1db1ad8c714a38217b.
Merge pull request #9 from luvit/fixes/add_cmake

add cmake