use "uname -m" instead of "arch"

uname is in the FHS while arch is not
ArchLinux does not provide arch

Signed-off-by: Christian Bühler <christian@cbuehler.de>