Fixed incorrect header search for Linux endian