Migrate capnproto build to example