Work around glibc weirdness.