added timi_endian.h to be used when compiling without config.h