//temporary hack until scanner discovery works
public static void addMissingCppIncludesForMingw() {
//try to find mingw path from MingwEnvironmentVariableSupplier
IConfigurationEnvironmentVariableSupplier mingwEnvironmentVariables =
new MingwEnvironmentVariableSupplier();
IBuildEnvironmentVariable mingwPath = mingwEnvironmentVariables.getVariable(
"PATH", null, null); //$NON-NLS-1$
//may contain multiple paths therefore must be separated
String[] mingwPaths = mingwPath.getValue().split(Separators.getPathSeparator());
//bin folder is appended so it must be removed
for(int i=0; i<mingwPaths.length; i++) {