3.8 support

These few lines should add Gnome 3.8 support