Added algorithm.* and inttypes.h for MSVS build