Pause before deleting files to avoid locks.
Increase range of cmake versions.