Fix compiler warnings in MQTTKit
Fix compiler warnings in libmosquitto