conditional link on JNA