cmake cleanup defines and clang_flags