support linking the _bsddb extension module against BerkeleyDB 4.5
[backport of r53252]
6 files changed