[Bug 2626] New: Undefined references block building