Build fixes for samples/Renderer2d iOS