revert usage of stdint.h because it's not available in visual studio