Try to find gsed or sed executable when setting up offline

Fixes (on Linux Mint 15):
```
setup_offline.sh: line 35: gsed: command not found
```