Native: Kernel32Library throws NoClassDefFound if JNA is missing

Introduced by #8993