Fix compilation on glibc 2.19/gcc 4.8