fix: cmake HAVE_ENDIAN_H