Sanitize the kqueue check in configure.in.