- added link patch (fixes library linking)