Make jnifs load smoothly on OpenJDK/Linux (without LD_PRELOAD tricks).