Fix retail build