Guard use of struct tms with #ifdef __TMS like done earlier in apps/lib/apps.c