Fix namespaces, includes and find_package calls

Additionally, make OSG optional as it is intended.