Dune::Geometry::makeQuadrilateral() is deprecated since 2.6 and has recently been removed. We are using now using Dune::GeometryTypes::quadrilateral
instead use standard CMake mechanism to set cxx standard to 17 move some of the tests to a OpmCompilerChecks.cmake file