fixed windows problems caused by missing uint declaration in windows.

typedef unsigned int uint;