[FCS-41] Changed the way berkeley db is installed