Fix Release compilation