adapt to newest libsolv