remove unused cpu arch detection code since it fails to compile on arm 64