Fixed compile error on linux