fix osg build