improve debian compat