Fixed makelinks.sh