Fix configure check for eventfd
Fix autoconf checks for mcheck_pedantic()