Fixed log print format for peer list.
Added missing macro to enable inttype fmt macros.