Fix regression in t/shells.t due to things ported to XS