Fix build issue when uid_t type is not use