fixed compilation for ECALELF