Enabling compilation on windows.

Had to change uint to unsigned int and add some includes.