Fix gcc 490 warnings.