check_libs_ng: use iglob instead of glob
iglob returns an iterrator instead of the full list directly, which uses less memory as the whole list doesn't need to be stored
iglob returns an iterrator instead of the full list directly, which uses less memory as the whole list doesn't need to be stored