Fixed a bug that doesn't compile in non-gcc compilers.