win32 porting for all of ecl_core

Completed win32 porting, but not sure it is compatible with Linux.