CLS compliance

NAnt reported that uint is not CLS compliant, thus this may have
portability issues. This is fixed with this commit.