Updated install script to make it work on Debian 7