rpcrouter: fix compile