make alternatives management also work on debian and co.