fixed build script creating too many symlinks