Gnome 3.8 compat

Some bugfixes for both Fedora and Arch