fix bugs in declspecs and library dependencies for ecl_time_lite.