Fix compile on mac: format string mismatch error.