Fixed CMakeLists to generate messages