Then force the _VARIANT_METRO_M4 to be defined in the compiler preferences for that board?