fix include endian.h