C++ stdlib check: don't check executables for deps

This avoids some possible false positives, as happens with, e.g., qt4, by skipping the stdlib check for executables in the version of the check that's recorded in the tab.

After this I'm planning to add a warning if mixed stdlibs are detected, and change the current build-ending error on stdlib mismatch into a warning that lets the build succeed.