Remove warnings and errors when compiled with linux.
(Modify #define and include file. Delete local inttypes.h)