Update install-intellij-libs.sh to work on Ubuntu

Running the install script in ubuntu bombs with:

```
./install-intellij-libs.sh: 28: ./install-intellij-libs.sh: Syntax error: "(" unexpected (expecting "done")
```
Merge pull request #1 from martinthink/patch-1

Update install-intellij-libs.sh to work on Ubuntu