Add WCA_COMPONENT_INDEX #ifdef back in, but do not print warnings on WIN32 to make that build happy