u_int8_t is missing on mingw