Fixed a compilation issue on gcc 4.4.7.