Fixed target dependency for generate_messages.