Reg dir rel linux

Fixes platform.sh crash on Linux due to attempt to put `regDir` in `/usr/local`, which requires root.