Additionally reduce cmake minimum version to 3.18
3.18 seems to work, too and makes it easier to compile on debian stable.