Add version checking for EL5