cctools: Link to pthread last in static LTO_LIBS