Fixed few minor issues with installation script.