add  WITH_THREADING for libmosquitto threading support