Linux fix (missing phread error)