Fixed compilation error in release mode.