Run check_civicrm_compatibility only on upgrade.