add inttypes back in so it still compiles with mingw