Adds build dependencies for messages