use "uname -m" instead of "arch"

uname is in the FHS, arch is not
ArchLinux does not provide arch

Signed-off-by: Christian Bühler <christian@cbuehler.de>