Fixed compile error under linux