libbind vs. libc & libresolv problems