Fixed install script to install Ubuntu packages first.