Better detection of GCC support of override