Segment variable reference is stale in build/