use "uname -m" instead of "arch"

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