Make target building depend on its own package to ensure messages are generated before