Refactor uname conditional into 1 line