Fix Linux platform detection