Fix build errors due to using initialization lists.

Refs #7772
Merge branch 'feature/7772_load_map_grouping_file' into develop