Fix compile error in linux.