minor updates and bugfixes to get https://github.com/stonier/ecl_core/pull/17 working on linux.