changed inttypes to stdint (in the hope that this works with VC10 and above)
addresses issue #46
if this is not a fix, we could use http://msinttypes.googlecode.com/svn/trunk/stdint.h for older versions of MSVC.