bring ppc code in sync with the other architectures

I.e. use uname -m instead of BUILD_ARCH.