optimized

remplace if by case for the uname -m