Fixing build errors under GCC.