added cmake scripts for compilation