use inttypes so w32 compile might work too