CallTargetForModules: all BuildException instances created have messages (to avoid stack trace being printed in the non-verbose mode).