fix: use gcc dumpmachine to check archtecture