compile fix for glibc-2.18 / gcc-4.8