fix: u_int8_t for windows