Fix build with GCC6:use c89 explicitly