fix buildMappings() method in ConfigurationProxy for 3.6, 4.0 and 4.3