Fixed a compiler error in debug builds.