Update CMakeLists for grammar.