By directly including runtime0.h the mpconfig.h settings are not included and so the enums in runtime0.h can be incorrect.