Update pingcheck to work with cmake 3.28