fix missing arch flag