fix os and arch detection
fix os and arch detection

sancopanco/heroku,rkh/heroku,sancopanco/heroku,sancopanco/heroku,duypq94/heroku,greeca0204/heroku,gregburek/heroku,macedo/heroku,Faisalawanisee/heroku,vcgato29/heroku,vcgato29/heroku,greeca0204/heroku,duypq94/heroku,rkh/heroku,vcgato29/heroku,macedo/heroku,dickeyxxx/heroku,macedo/heroku,Faisalawanisee/heroku,rkh/heroku,gregburek/heroku,greeca0204/heroku,Faisalawanisee/heroku,dickeyxxx/heroku,dickeyxxx/heroku,gregburek/heroku,duypq94/heroku