Fix compile error in Linux