Added code to remove ARCH flag