Remove usage of sys/time.h as it is a posix only header.