Use external runtime shim.

I extracted the runtime shim out to a standalone project that can be
used by other containers.