modified cmakelists for easier modification