Changed CMakeLists.txt for message types