icon classes generation: prefer 'generated' source roots if any