Small code changes:

* Remove unused macro definiton
* Move UID_MAX to c file