Changed source for berkeleydb package
ALL THE CHANGES TO MAKE EVERYTHING WORK