Update CMakeLists.txt to generate dictionaries