Make libnotify an optional dependency