dll to .so wrapper