Fix "./util/install.sh -L"

Fix some errors in install script.