Do not warn about unused functions.

Unfortunately, msgpack headers have unused functions.
Eliminate "comparison always false" warning.
Add program_version global stat.