fixed compilation for ECALELF
Merge pull request #5 from shervin86/shervinForECALELF

Shervin for ecalelf: solving compilation problems