add_custom_command was not depending on the proto input files due to typo. fixed it.
add_custom_command