Fix linux detection