fix namesToPlugins for gcc advanced mode