Detect architecture type on linux

We should detecting architecture type because chromedriver can have problems running 32bit if the required libraries aren't available on a 64bit OS.
Merge pull request #2880 from rickihastings/patch-1

Detect architecture type on linux