Fix sizeof print

Fix compile errors in printf. 

The %lu format specifier for size_t type is invalid in 32 bits computers. Change to use %zu.

Tested on:   Linux Ubuntu 13.10 i686