References build fix