Fixed compilation warning messages on gcc 4.5