add ecl_threads to ECL_CORE.
Merge branch 'win-porting' of https://github.com/stonier/ecl_core into win-porting