fix compile error in Linux