check_libs: non-empty TID workaround