[perl #123163] use the original link order unless on os390