Remove cmake logic that is outdated by requiring cmake 3.13