Add override.
Add C++1y-awareness detection to CMake.

Now compiling tests on non-C++14-aware compilers will be easier.