Fix some compilation warning messages