Fix project warnings.

This concludes the scrubbing of build warnings for now.