Added dependencies for custom messages which have to be built first.