Fix build with PackageKit < 0.9.1

https://bugzilla.gnome.org/show_bug.cgi?id=725752