Update minimum required cmake version to 3.18