msrpc fixes for libmoonshot abi change