cmake typo
fix probably bug in io, cleanup compiler warnings related to time_t, which is a scalar