workaround to compile with glibc >= 2.19