Fix linux issues (namespace repetition & fromNativeSeparator)
Consistent thread desctruction