PR libstdc++/84159 fix appending strings to paths