Work correctly under dash.

  Dash doesn't set "$UID", but $USER will work.