added cmake build system; only tested on windows currently