linux: Fix detecting Alt modifier.