adaptation modification for fixing loading of nsswitch based config inside chroot under glibc