Fixed compile error in linux