Fixed SceneCache build problem on OS X.