Compile a convenience library which exposes all of the C++ internals to
which we link utility programs val and what.