Xcode 4.6 throws an error when compiling berkeley db 5.3.21, so here's a ptach