Fix compile error about format string