Fix a bug that only happens with Clang + glibc + 64 bit.