Microsoft has impemented typedef byte cs_byte;in rpcndr.h file. So changing byte to cs_byte will define the symbol properly and will not break the logic.
typedef byte cs_byte;