Fix bsddb dependency