simplify the configure.ac using PKG_CONFIG to detect qdbm correctly.