Link error fixes for samples/Renderer2d Mac