Fixed compile error with new gcc