fixing string literals in order to make it work in latest Ubuntu

Otherwise it fails with a bunch of:

error: format not a string literal and no format arguments [-Werror=format-security]