more fixes to install-ncl.sh