Install Firefox add-on under `$HOME` without sudo

And modify `$PATH` so that `firefox` can be found

We can't use `ENV['PATH']` or `ENV['HOME']` to set values,
since the build script is compiled by the build API, which
has different values.