fix compiling error cause by undefined ssize_t on vs.