Fix for correct search Berkeley DB library's