OMP bug fix for VS2008 uint -> int