Fix compilation warning that were converted to error