[runtime] Fix inverted build check related to mcs docs