Terminate compilation if we don't know the arch

Change-Id: I5b82fb3ab5c0e721267a2b8541e37576e991c618