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")
```