fix System.loadLibrary for OpenJDK tails=true build