fix check for dbus (fix #9)