Updated Linux/OSX postinstall scripts.
Updated upstart so we use setuid.