Avalonia.Native: Support manually copied dylib on non-OSX platfroms (#21891)