Make define for update alternatives
remove unnecessary code
fix wrong usage
Merge pull request #5 from rgevaert/master

refactored update alternatives