fix compress filter for big endian systems