test: fix linking on ancient ld(1) resolve pass