[bugfix] remove unneed AC_TYPE_CHECK and support EPOLLRDHUP on lagency system