Fix compile error with message formatting

This patch enables compiling for unicode support.
Merge pull request #30 from lisachenko/patch-1

Fix compile error with message formatting