Adapted CMakeLists to linux