This will allow better reuse of it, such as in the upcoming RTS configure script.
Progress towards #17191