Add test for C++11 final/override and enable in gcc