Various improvements:

- consistently bracketed variables
- concerning variables inside strings: quote the whole string instead of
  just the variable since bracketed vars are now used
- normalized indentation throughout
- './configure' instead of 'sh ./configure', as configure already has
  '#!/bin/sh'
- remove trailing slash for 'INSTALL_ROOT'