changed the way native libs are loaded