defined uint for non-windows platforms too. replaced isnan for cvIsNaN.
adding std to cstdint typedef of uint32_t
Merge pull request #1253 from kamjagin:fixingCompilationOnOSX