bonnie++ workaround for compilation failure with clang

Works around compilation error in issue https://github.com/mxcl/homebrew/issues/24136, similar to the MacPorts workaround [here](https://trac.macports.org/ticket/40863).