Fixes to installation script.