Fix pipe_term_base::construct method.