detect platform via uname -i