Fix indentation, eof newline, and other issues on CMakeLists