Fix thud_lib_path fallback to pkgdatadir