Fix to compile w osg 3.3.1+