Made alternatives command work on CentOS.