- adjusted link patch to fix soname and use (preferred) direct and .so symlink