CMake: bump the minimum required CMake version to 3.5