Fix the build with -Werror=format-security
Merge pull request #213 from kalev/format-security

Fix the build with -Werror=format-security