var libfib=func(){
    var dl=dylib.dlopen("libfib."~(os.platform()=="windows"?"dll":"so"));
    var fib=dylib.dlsym(dl,"fib");
    var qfib=dylib.dlsym(dl,"quick_fib");
    var call=dylib.dlcall;
    return {
        fib: func(x){return call(fib,x)},
        qfib:func(x){return call(qfib,x)}
    };
}();