Define TIMESPEC_TO_TIMEVAL if not defined; fixes issue #8