CMake: fix indentation and normalize braces