getdtablesize: work around cygwin issue