build: check for int types included from rpc/rpc.h