configure.ac: fix check for futex and eventfd