add a workaround for a glibc 2.20 bug