Add base functions for native library loading in libjvm.