fix compilation with libnotify < 0.7.0