add stdint.h. fix printf fmt
Merge pull request #9 from sbinet/wip/c-fixes

add stdint.h. fix printf fmt