Fixes #76 using `uname -m` to get system architecture

Tested on:
 * CentOS 6.3 32
 * CentOS 6.3 64
 * Lucid 32
 * Precise 64
 * Wheezy 64