Use portable printf with inttypes.h

Dirk,

This should be portable for both 32 and 64 bit windows.  I used winbuilder to check it and it seems to have worked without a printf warning.  http://win-builder.r-project.org/OO16N3AymlAB/

Let me know if that fails for you for some reason.

Again sorry for the difficulties.