Use uname -m instead of arch

The are equivalent and some distros doesn't ship arch.