Change build.name to target.name.