Made buffer_cache/mock.cc compile under release mode.