berkeleydb-5: Fix for xcode 4.6 on OSX

See patch in
https://raw.githubusercontent.com/Homebrew/homebrew/master/Library/Formula/berkeley-db.rb

This is a generic fix to work around a new built-in in xcode 4.6, it should not affect older versions of xcode.