defined uint for non-windows platforms too. replaced isnan for cvIsNaN.
adding std to cstdint typedef of uint32_t