Changed CMakeLists to minimum working one