Qt UI: small improvement for Mac OS X, MS Windows or Haiku:
do not try to build with DBUS_NOTIFY support on these platforms.
Qt UI: fix build in Mac OS X.