some minor Mac OS X fixes; removed getent