Detect cdb on OSX

cdb from homebrew doesn't ship a .pc file
so detect it the old-fashioned way.