Add some extra CPP checks for older gtk versions (< 3.8)

* cope with GTK < 3.6
* handle GTK 3.6 missing the level bar inverted attribute