Add realpath function to capnpc-lua