declspec porting for ecl_config, ecl_errors, ecl_io, but io needs better wsock library checks/exports.