win/lnx compat