add dependence on third-party build to query lib targets