Add missing dep.
Fix some broken codegen target synthesis code.

Also got rid of bogus duplicate is_synthetic concept.
Reproduced issue we are seeing in our builds with protobufs