Fixes #5575: Add an internal BDB version for slapd builds

Ticket: http://www.rudder-project.org/redmine/issues/5575

To be merged in master
Where did you get this URL from? I need to read the source to make sure bdb patches have been applied.