Fix #25: include sys/time.h if available