Fix compilation on OSX 10.9. Improve efficiency of BindingReaction::integrate.