fix makesymlinks.sh