valgrind tells me that mktime requires tm_isdst to be set