Fixed the build now that G_FOREACH is gone and replaced by the much slicker ForEach.