Read the system arch from uname()

Although "lshw" returns the correct architecture in almost all cases, we can just read it from the uname() system call instead of parsing the "ids" for all possible architectures.