move appdirs to compat