Remove unused headers and use grnxx::BrokenDownTime in write_to().
Comment out AC_CHECK_LIB([rt], [clock_gettime]).