Adjusted CMake settings and .gitignore file