Handle symlinks and @loader_path in bundled libs.