don't define TIME_MAX if TIME_MAX is already defined.

Minix defines TIME_MAX in /usr/include/sys/syslimits.h.
define feature macros for Minix.