Fix some GCC warnings.