Fix simple_message msg dependencies.

Identical to issue #4, but for Groovy.
Merge pull request #20 from gavanderhoorn/issue19_simple_message_build_order2

Fix issue #19: simple_message build order for Groovy.