fixed compilation for eglibc