Fix gcc warnings.