bugfix
- add dependencies on messages in CMakeLists.txt