Improve checking whether system has 'accept4'

'__NR_accept4' is not defined on some 32bit Linux distribution.
So we check whether system has 'accept4' actually.