Fix gcc errors.