Add missing pkg-config dependency.
Improve previous change so it honors BACULA_DB. From Petar Bogdanovic.