Fix Linux detection