Fixing makelinks script so that it doesn't keep old symlinks