update avoid compile error in linux