added cmake build system, now not working