autotools: Add -Wno-c++11-compat to configure when compiling for c++11.

The override keyword will error out on the -Wc++11-compat check, and so
we can no longer have that when we explicitly compiler for C++11.
Add the _override keyword everywhere possible.

I have probably missed some, but hopefully there will come a compiler switch
to warn on missing overrides.