libchop: fix builds with glibc 2.16+