Fix id and groups for Macs.  Also make every util depend on common

Fixes both #261 and #264.