handle systems that don't take a 2nd argument to gettimeofday()