Workaround for fd_set on ARM processors