Just checking for the header presence of sys/auxv.h breaks the build on OpenBSD / FreeBSD. Make use of elf_aux_info().