check for db6/db.h
include db6/db.h
fix condition for db >= 4.1