Fixed OSG compile error