only build glib if bluez is used