OmeroCpp: Ensure source generation is complete