Ensure messages are built before code

add dependency on _gencpp target