posix: properly handle static-libs (bfd,iberty). do not require a c++ compiler but a C one.