With modern tar, just don't include the z at all. "tar -xf" knows how to extract various kinds of compressed tar files automatically.