Fixed compilation error in debug build