ensure platform_classes is populated at config-time