made libnotify optional for non *nix platforms