Fix build on older glibc.