fixed compilation
added cmakelists