Make OSG conditional