load library
simplify library loader since native code is now wrapped in a jar