add conditional compilation when libnotify is not available