Fixes print format warning and missing library (needed for linking)

This patch aims to : 
 - fix a `printf` format warning in the receiver
 - Use the `pn_error_text()` to get the text for the error.
 - add missing library `uuid` in the Makefile.