added a check on package version to account for updated objective from `reg:linear` to `reg:squarederror`