gen: fix cmake configuration for projects without orogen files
gen: fix cmake configuration for projects without orogen files

This is mostly fixing the test suite, but in general fixes the
code generated for projects created programmatically

doudou/modelkit-component,doudou/modelkit-component