Fix build warnings under GCC.