improve handling of symlinking in lib that are also in the project