Cleanup various build warnings.