dynlink: apply fixes from dynlink5
setup: prepare the seek event only to when we need it.