fix crash if no platform config available as normal for toolchains