Fixed compilation in release mode.