use stdint typedefs instead of weird microsoft ones