Only check for libunity and libnotify if their needed