renderer2: linux build fixes