move libpthread to be the last item