Fix type error in rpcHelper.h. Fixes #26