fix compile error, move linux from infra to root