Fix when not specifying a target version directly.