add basic support for s390x
add basic support for ppc64