Fixes build dependencies for messages
Merge pull request #6 from JohanJohansson/master

Fixes build dependencies for messages