fix build.* symlink from being destroyed