changed the way the native lib is loaded