Fix compile error on linux