Fixed compiler warning in 3 party code