Autodetect the platform 

it's a small change to autodetect the platform architecture