Fix for compile error identified in
https://github.com/fish-shell/fish-shell/issues/1142