[mqtt][mbed] Enable selective compilation
[fix] s/.c/.h/