Make project buildable under win32

defines replaced by types from <cstdint>, UINT_32 replaced by uint32_t, UINT_8 replaced by uint8_t