use uname -m for arch detection