Update appdirs.py

Jython on Windows has neither `ctypes.windll` no  `_winreg`, but this can be patched using `jna`.