Abort if libmosquitto or pthread support is not present
Have a go with libmosquitto-dev as well