Bug 906783 - Attempt to detect the standard C++ library version, r=Waldo