Minor refactoring of static C initializers