Fixed a compile error with some compilers.