Actually support --with-malloc=jemalloc etc.
Minor tweaks.

Not reflected here is a new implementation of value_bag::update,
which was slower than the old, so isn't included.