Remove deprecated code to force C++11
The top-level CMake configuration sets C++17, while in two other occasions it is set to C++11 again. This MR removes this unwanted behaviour.
The top-level CMake configuration sets C++17, while in two other occasions it is set to C++11 again. This MR removes this unwanted behaviour.