fix compile error related to ssize_t.