Fix cmake build
Fix build on windows, uint isn't a standard type, unsigned int is.
Merge pull request #604 from ricnewton/cmake_fix

Fix cmake build