CMake: a few conditions to keep portability with cmake 2.6 (used with RHEL6.1)
Log/DBUS: do not include D-Bus header when D-Bus support is not wanted.