Fix up valgrind configure for newer glibc