Fix failing build on mavericks with clang

`uint` is apparently not a standard type. The C standard uses `unsigned int` instead? This fixes a build error with `clang`. 

Builds with `gcc` and `clang` on 10.9 against python `3.4.1`.