posix: fixup for bfd and iberty which are static libraries