Change all "%zu" in *.h *.hpp and *.cpp to "%lu".
Merge pull request #597 from yangyanli/fix_%zu

Change all "%zu" in *.h *.hpp and *.cpp to "%lu"

Fixes #588.