Patch berkeleydb to build with Clang
Fix wrong sha type for gtk-mac-integration