Fixes for dependency installation script.

Fixing shebang; fixing Debian dependencies.