Add fd_mask typedef to <sys/select> Native code compiled when installing the Ruby gem nio4r (used by Rails 5) needs fd_mask.