Fix unit test now that 'ld' is host specific